#include"string.h"
#include<string>
#include<string.h>
int main()
{
	wzh::string s1("hello world");
	wzh::string s2(" world");

	//s1 = s2;
	//s1[1] = 'x';
	//s1.push_back('x');
	//s1.push_back('c');
	//s1 += 'c';
	//s1.resize(14,'\0');
	//s1.append("hel");
	//cout << s1;
	/*s1 += "wo";*/
	//cout << s1 << endl;
	//cout << s2 << endl;
	//s1.swap(s2);
	//cout << s1;
	//cout << s2;
	//s1.resize(15);
	//cout << s1;
	//wzh::string a1("he");
	//wzh::string a2("he");
	//int a = a1 >= a2;
	//cout << a;
	//wzh::string s3("hello");
	//s3.resize(3);
	//std::cout << s3 << std::endl;
	//string s("hello");
	//size_t i = s.find("lli");
	//cout << i;


	//size_t i = s1.find('o',4);
	//cout << i;
	
	const char* p1 = "avc";
	const char* p2 = "vc";
	p1 - p2;
	const char*p = strstr(p1, p2);
	//const char* p3 = (p1 - p2);
	//int len = strlen(p);
	//cout << len;
 	return 0;
}